package com.sujeet.learning.soap;

public class CD {
	/** The title of the CD */
	private String title;
	/** The artist performing on the CD */
	private String artist;
	/** The label of the CD */
	private String label;

	public CD() {
		// Default constructor
	}

	public CD(String title, String artist, String label) {
		this.title = title;
		this.artist = artist;
		this.label = label;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getArtist() {
		return artist;
	}

	public void setArtist(String artist) {
		this.artist = artist;
	}

	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public String toString() {
		return "'" + title + "' by " + artist + ", on " + label;
	}
}
